package POJO;

import java.math.BigDecimal;

import org.springframework.stereotype.Repository;

@Repository
public class Courier {

	private int courierID = -1;
	private String courier_company;
	private String phoneNum;
	private String password;
	private String RFID;
	private int payWay;
	private int expressId;
	private int status;
	private BigDecimal errorRate;// 存错率

	public int getCourierID() {
		return courierID;
	}

	public void setCourierID(int courierID) {
		this.courierID = courierID;
	}

	public String getCourier_company() {
		return courier_company;
	}

	public void setCourier_company(String courier_company) {
		this.courier_company = courier_company;
	}

	public String getPhoneNum() {
		return phoneNum;
	}

	public String getPassword() {
		return password;
	}

	public String getRFID() {
		return RFID;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setRFID(String rFID) {
		RFID = rFID;
	}

	public int getPayWay() {
		return payWay;
	}

	public void setPayWay(int payWay) {
		this.payWay = payWay;
	}

	public int getExpressId() {
		return expressId;
	}

	public void setExpressId(int expressId) {
		this.expressId = expressId;
	}

	public BigDecimal getErrorRate() {
		return errorRate;
	}

	public void setErrorRate(BigDecimal errorRate) {
		this.errorRate = errorRate;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public void print() {
		System.out.println("courier id: " + courierID);
		System.out.println("courier's company: " + courier_company);
		System.out.println("courier's express id: " + expressId);
	}

}
